package com.mystudy.springcloud.controller;

import com.mystudy.springcloud.service.MassageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SendMassageController {
	@Autowired
	private MassageProvider massageProvider;

	@GetMapping(value = "/sendMessage")
	public String sendMessage() {
		return massageProvider.send();
	}
}
